Objects Reference

fly_pak::open

Prototype

bool open(char *filename)

Parameters

Parameter Type Description
filename char * filename for file to open

Return Value

Returns TRUE if open if OK, FALSE on any error.

Remarks

This function opens a file (standalone or from a .fpk package). It first tries to open the file as a standalone file. If it fails to open it, it looks up the file path for .fpk files that may contain the desired file. All open files needs to be closed using the close method.